package com.xnyzc.lhy.finance.entity.invoice;

import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**
*
* 发票邮件发送表
*
* @author haoyfa
* @since 2019-10-26
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OaSysInvoiceEmailSend对象", description="发票邮件发送表")
public class OaSysInvoiceEmailSend implements Serializable {

private static final long serialVersionUID = 1L;

    @TableId(value="invoice_send_id", type = IdType.INPUT)
    private Long invoiceSendId;

    private Long invoiceInfoId;

    @ApiModelProperty(value = "接收人email")
    @TableField("sendEmail")
    private String sendEmail;

    @ApiModelProperty(value = "发送时间")
    @TableField("sendTime")
    private String sendTime;

    @ApiModelProperty(value = "发票文件url")
    private String fileUrl;

    @ApiModelProperty(value = "扩展字段1")
    private String expand1;

    @ApiModelProperty(value = "扩展字段2")
    private String expand2;

    @ApiModelProperty(value = "扩展字段3")
    private String expand3;

    @ApiModelProperty(value = "版本号")
    @Version
    private Long version;

    @ApiModelProperty(value = "是否删除(0:否,1:是)")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "调整发起人")
    private Long createUser;

    @ApiModelProperty(value = "调整发起时间")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    private Long updateUser;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


    public static final String INVOICE_SEND_ID = "invoice_send_id";

    public static final String INVOICE_INFO_ID = "invoice_info_id";

    public static final String SENDEMAIL = "sendEmail";

    public static final String SENDTIME = "sendTime";

    public static final String FILE_URL = "file_url";

    public static final String EXPAND1 = "expand1";

    public static final String EXPAND2 = "expand2";

    public static final String EXPAND3 = "expand3";

    public static final String VERSION = "version";

    public static final String DELETED = "deleted";

    public static final String CREATE_USER = "create_user";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_USER = "update_user";

    public static final String UPDATE_TIME = "update_time";

}
